hunt-snapshot-0_10_7 ~master (2019-09-12T04:35:55Z)
Dub
Repo
Response.download
hunt
http
response
Response
download file
class
Response
auto
download
(
string
filename
,
ubyte
[]
file
,
string
content_type
= "binary/octet-stream"
)
Meta
Source
See Implementation
hunt
http
response
Response
constructors
this
functions
clear
delCookie
do403
do404
doError
done
download
html
json
plain
redirect
setContext
setCookie
setHeader
setHttpError
setHttpStatusCode
download file